package com.dengyafei.mapper;

import com.dengyafei.bean.EnterpriseInfoEntity;
import com.dengyafei.bean.EnterpriseInfoEntityExample;

import java.util.List;

import com.dengyafei.domin.dto.EnterpriseInfoInsertDTO;
import com.dengyafei.domin.dto.EnterpriseInfoSearchDTO;
import com.dengyafei.domin.dto.EnterpriseInfoUpdateDTO;
import com.dengyafei.domin.dto.EnterpriseQueryByNameDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author 邓亚非
 */
@Mapper
public interface EnterpriseInfoEntityMapper {
    int countByExample(EnterpriseInfoEntityExample example);

    int deleteByExample(EnterpriseInfoEntityExample example);

    int deleteByPrimaryKey(Integer eid);

    int insert(EnterpriseInfoEntity record);

    int insertSelective(EnterpriseInfoEntity record);

    List<EnterpriseInfoEntity> selectByExample(EnterpriseInfoEntityExample example);

    EnterpriseInfoEntity selectByPrimaryKey(Integer eid);

    int updateByExampleSelective(@Param("record") EnterpriseInfoEntity record, @Param("example") EnterpriseInfoEntityExample example);

    int updateByExample(@Param("record") EnterpriseInfoEntity record, @Param("example") EnterpriseInfoEntityExample example);

    int updateByPrimaryKeySelective(EnterpriseInfoEntity record);

    int updateByPrimaryKey(EnterpriseInfoEntity record);

    Integer insertEnterpriseInfo(EnterpriseInfoInsertDTO enterpriseInfoInsertDTO);

    EnterpriseInfoEntity queryByEname(String ename);

    List<EnterpriseInfoEntity> queryAll();

    List<EnterpriseInfoEntity> queryByParams(EnterpriseInfoSearchDTO enterpriseInfoSearchDTO);

    List<EnterpriseInfoEntity> queryEnterpriseInfos();
}